<?php
// +---------------------------------------------------------------------+
// | OneBase    | [ WE CAN DO IT JUST THINK ]                            |
// +---------------------------------------------------------------------+
// | Licensed   | http://www.apache.org/licenses/LICENSE-2.0 )           |
// +---------------------------------------------------------------------+
// | Author     | Bigotry <3162875@qq.com>                               |
// +---------------------------------------------------------------------+
// | Repository | https://gitee.com/Bigotry/OneBase                      |
// +---------------------------------------------------------------------+

namespace app\api\controller;

/**
 * 职位接口控制器
 */
class Position extends ApiBase
{
	/**
	 * 标记面试详情
	 */
	public function interviewStat()
	{
		return $this->apiReturn($this->logicPosition->interviewStat($this->param));
	}
	/**
	 * 发布的面试邀请
	 */
	public function interviewList()
	{
		return $this->apiReturn($this->logicPosition->interviewList($this->param));
	}
	/**
	 * 我的面试邀请
	 */
	public function interviewLists()
	{
		return $this->apiReturn($this->logicPosition->interviewLists($this->param));
	}
	/**
	 * 面试邀请
	 */
	public function interviewAdd()
	{
		return $this->apiReturn($this->logicPosition->interviewAdd($this->param));
	}
	/**
	 * 我发布的职位
	 */
	public function userWorkList()
	{
		return $this->apiReturn($this->logicPosition->userWorkList($this->param));
	}
	/**
	 * 投递、收藏、录用、面试
	 */
	public function resumeNums()
	{
		return $this->apiReturn($this->logicPosition->resumeNums($this->param));
	}
    /**
     * 获取职位、学历、经验列表
     */
    public function infoList()
    {        	
        return $this->apiReturn($this->logicPosition->getPositonCats());
    }
	/**
     * 发布职位
     */
	public function releaseWork(){
		return $this->apiReturn($this->logicPosition->releaseWork($this->param));
	}
	/**
     * 我发布职位
     */
	public function myWork(){
		return $this->apiReturn($this->logicPosition->myWork($this->param));
	}
	/**
     * 职位详情
     */
	public function workInfo(){
		return $this->apiReturn($this->logicPosition->workInfo($this->param));
	}
	/**
	 * 职位详情
	 */
	public function workInfos(){
		return $this->apiReturn($this->logicPosition->workInfo($this->param));
	}
	/**
     * 关闭职位
     */
	public function closeWork(){
		return $this->apiReturn($this->logicPosition->closeWork($this->param));
	}
	/**
     * 查询匹配职位
     */
	public function searchWork(){
		return $this->apiReturn($this->logicPosition->searchWork($this->param));
	}
	/**
	 * 查询匹配职位
	 */
	public function workList(){
		return $this->apiReturn($this->logicPosition->workList($this->param));
	}
	/**
     * 发布简历
     */
	public function resumeAdd(){
		return $this->apiReturn($this->logicPosition->resumeAdd($this->param));
	}
	/**
     * 发布简历
     */
	public function qzyx(){
		return $this->apiReturn($this->logicPosition->resumeQzyx($this->param));
	}
	/**
     * 个人简介
     */
	public function contAdd(){
		return $this->apiReturn($this->logicPosition->resumeEdit($this->param));
	}
	/**
     * 工作经历
     */
	public function resume_experience(){
		return $this->apiReturn($this->logicPosition->resumeExperience($this->param));
	}
	/**
     * 删除工作经历
     */
	public function experienceDel(){
		return $this->apiReturn($this->logicPosition->experienceDel($this->param));
	}
	/**
     * 删除教育经历
     */
	public function educationDel(){
		return $this->apiReturn($this->logicPosition->educationDel($this->param));
	}
	/**
     * 教育经历
     */
	public function resume_education(){
		return $this->apiReturn($this->logicPosition->resumeEducation($this->param));
	}
	/**
     * 简历详情
     */
	public function resumeInfo(){
		$list=$this->logicPosition->resumeInfo($this->param);
		return $this->apiReturn($list);
	}
	/**
     * 职位匹配
     */
	public function matchWork(){
		return $this->apiReturn($this->logicPosition->matchWork($this->param));
	}
	/**
	 * 匹配简历
	 */
	public function matchResume(){
		return $this->apiReturn($this->logicPosition->matchResume($this->param));
	}
	/**
     * 简历投递
     */
	public function deliverResume(){
		return $this->apiReturn($this->logicPosition->deliverResume($this->param));
	}
	/**
	 * 简历刷新
	 */
	public function updateResume(){
		return $this->apiReturn($this->logicPosition->updateResume($this->param));
	}
	/**
	 * 职位刷新
	 */
	public function updateWork(){
		return $this->apiReturn($this->logicPosition->updateWork($this->param));
	}
	/**
     * 简历投递记录
     */
	public function deliverList(){
		return $this->apiReturn($this->logicPosition->deliverList($this->param));
	}
	/**
     * 简历搜索
     */
	public function resumeSearch(){
		return $this->apiReturn($this->logicPosition->resumeSearch($this->param));
	}
	/**
     * 图片上传
     */
	public function uploadImg(){
		return $this->apiReturn($this->logicPosition->uploadImg($this->param));
	}
	/**
     * 公司认证
     */
	public function company(){
		return $this->apiReturn($this->logicPosition->companyAdd($this->param));
	}
	/**
     * 公司性质\规模选项
     */
	public function companyType(){
		return $this->apiReturn($this->logicPosition->getCompanyType($this->param));
	}
	/**
     * 编辑公司信息
     */
	public function editCompany(){
		return $this->apiReturn($this->logicPosition->editCompany($this->param));
	}
	/**
     * 收藏职位
     */
	public function scWork(){
		return $this->apiReturn($this->logicPosition->scWork($this->param));
	}
	/**
     * 收藏职位列表
     */
	public function scList(){
		return $this->apiReturn($this->logicPosition->scList($this->param));
	}
	/**
     * 取消收藏职位
     */
	public function delSc(){
		return $this->apiReturn($this->logicPosition->delSc($this->param));
	}
	/**
     * 隐私设置
     */
	public function ysConfig(){
		return $this->apiReturn($this->logicPosition->ysConfig($this->param));
	}
	/**
     * 标记投递简历
     */
	public function tagResume(){
		return $this->apiReturn($this->logicPosition->tagResume($this->param));
	}
	/**
     * 删除简历
     */
	public function delResume(){
		return $this->apiReturn($this->logicPosition->delResume($this->param));
	}
	/**
     * 收到队简历
     */
	public function receivedResume(){
		return $this->apiReturn($this->logicPosition->receivedResume($this->param));
	}
	/**
     * 标记各种简历数量
     */
	public function resumeNum(){
		return $this->apiReturn($this->logicPosition->resumeNum($this->param));
	}
	/**
	 * 我的悬赏
	 */
	public function rewardWork(){
		return $this->apiReturn($this->logicPosition->rewardWork($this->param));
	}
	/**
	 * 我的悬赏
	 */
	public function rewardList(){
		return $this->apiReturn($this->logicPosition->rewardList($this->param));
	}
	/**
	 * 用户悬赏列表
	 */
	public function userRewardList(){
		return $this->apiReturn($this->logicPosition->userRewardList($this->param));
	}
	/**
	 * 用户悬赏列表
	 */
	public function enrollUser(){
		return $this->apiReturn($this->logicPosition->enrollUser($this->param));
	}
	/**
	 * 已录用列表
	 */
	public function enrollList(){
		return $this->apiReturn($this->logicPosition->enrollList($this->param));
	}
}
